﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 产业链支持_库存杂发单库位子表DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfIC_MiscShipBinDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfIC_MiscShipBinDTOData()
		{
			initData();
		}
		private void initData()
		{
					ID= 0; 
							DocSubLineNo= 0; 
				
					StoreUOMQty=0m; 
		
					SysStates= 0; 
				
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        			if (this.BinInfo != null) 
			{
				this.BinInfo.DoSerializeKeyList(dict);
			}
	        	        			if (this.IC_MiscShipmentLDTO != null) 
			{
				this.IC_MiscShipmentLDTO.DoSerializeKeyList(dict);
			}
	        	        			if (this.CopyOfIC_MiscShipmentLDTO != null) 
			{
				this.CopyOfIC_MiscShipmentLDTO.DoSerializeKeyList(dict);
			}
	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfIC_MiscShipBinDTOData(  System.Int64 iD  , System.Int32 docSubLineNo  , List<UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData> descFlexSegments  , System.Decimal storeUOMQty  , ufida.u9.ait.openapi.CopyOfBinInfoData binInfo  , System.Int16 sysStates  , UFIDA.U9.ISV.MiscShipISV.IC_MiscShipmentLDTOData iC_MiscShipmentLDTO  , System.String pickTallyTime  , ufida.u9.ait.openapi.CopyOfIC_MiscShipmentLDTOData copyOfIC_MiscShipmentLDTO  , List<System.String> sNList  )
		{
			initData();
			this.ID = iD;
			this.DocSubLineNo = docSubLineNo;
			this.DescFlexSegments = descFlexSegments;
			this.StoreUOMQty = storeUOMQty;
			this.BinInfo = binInfo;
			this.SysStates = sysStates;
			this.IC_MiscShipmentLDTO = iC_MiscShipmentLDTO;
			this.PickTallyTime = pickTallyTime;
			this.CopyOfIC_MiscShipmentLDTO = copyOfIC_MiscShipmentLDTO;
			this.SNList = sNList;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// ID
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.ID
		/// </summary>
		private System.Int64 m_iD ;
		[DataMember(IsRequired=false)]
		public System.Int64 ID
		{
			get	
			{	
				return m_iD ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
			
		

		/// <summary>
		/// 库位行号
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.库位行号
		/// </summary>
		private System.Int32 m_docSubLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 DocSubLineNo
		{
			get	
			{	
				return m_docSubLineNo ;
			}
			set	
			{	
				m_docSubLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.描述性弹性域
		/// </summary>
		private List<UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData> m_descFlexSegments ;
		[DataMember(IsRequired=false)]
		public List<UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData> DescFlexSegments
		{
			get	
			{	
				if (m_descFlexSegments == null )
				{
					List<UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData> n_m_list = new List<UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData>() ;
					m_descFlexSegments = n_m_list ;
				}
				return m_descFlexSegments ;
			}
			set	
			{	
				m_descFlexSegments = value ;	
			}
		}
			
		

		/// <summary>
		/// 分配数量
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.分配数量
		/// </summary>
		private System.Decimal m_storeUOMQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal StoreUOMQty
		{
			get	
			{	
				return m_storeUOMQty ;
			}
			set	
			{	
				m_storeUOMQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 库位
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.库位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfBinInfoData m_binInfo ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfBinInfoData BinInfo
		{
			get	
			{	
				return m_binInfo ;
			}
			set	
			{	
				m_binInfo = value ;	
			}
		}
			
		

		/// <summary>
		/// CUD
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.CUD
		/// </summary>
		private System.Int16 m_sysStates ;
		[DataMember(IsRequired=false)]
		public System.Int16 SysStates
		{
			get	
			{	
				return m_sysStates ;
			}
			set	
			{	
				m_sysStates = value ;	
			}
		}
			
		

		/// <summary>
		/// 产业链支持_库存杂发单表行DTO
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.产业链支持_库存杂发单表行DTO
		/// </summary>
		private UFIDA.U9.ISV.MiscShipISV.IC_MiscShipmentLDTOData m_iC_MiscShipmentLDTO ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.ISV.MiscShipISV.IC_MiscShipmentLDTOData IC_MiscShipmentLDTO
		{
			get	
			{	
				return m_iC_MiscShipmentLDTO ;
			}
			set	
			{	
				m_iC_MiscShipmentLDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 拣货日期
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.拣货日期
		/// </summary>
		private System.String m_pickTallyTime ;
		[DataMember(IsRequired=false)]
		public System.String PickTallyTime
		{
			get	
			{	
				return m_pickTallyTime ;
			}
			set	
			{	
				m_pickTallyTime = value ;	
			}
		}
			
		

		/// <summary>
		/// 产业链支持_库存杂发单表行DTO Copy
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.产业链支持_库存杂发单表行DTO Copy
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfIC_MiscShipmentLDTOData m_copyOfIC_MiscShipmentLDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfIC_MiscShipmentLDTOData CopyOfIC_MiscShipmentLDTO
		{
			get	
			{	
				return m_copyOfIC_MiscShipmentLDTO ;
			}
			set	
			{	
				m_copyOfIC_MiscShipmentLDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 序列号
		/// 产业链支持_库存杂发单库位子表DTO Copy.Misc.序列号
		/// </summary>
		private List<System.String> m_sNList ;
		[DataMember(IsRequired=false)]
		public List<System.String> SNList
		{
			get	
			{	
				if (m_sNList == null )
				{
					List<System.String> n_m_list = new List<System.String>() ;
					m_sNList = n_m_list ;
				}
				return m_sNList ;
			}
			set	
			{	
				m_sNList = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																				
		#endregion 
	} 	
}
